widgets.brease.DateTimeInput

Widget Description

short: Zeitingabe
de: Ermöglicht dem Benutzer einen Zeitwert einzugeben
en: Enables the user to enter a time

Properties

name description category type defaultValue bindable readOnly required localizable editableBinding projectable cssProp (has no setter and getter in JS) groupRefId groupOrder nodeRefId (for linking node and value) deprecated typeRefId (for StyleReference) subtype (for MpComIdentReference)
draggable Make widget draggable. Behavior Boolean false false false false false false true
enable Initial option to enable widget. Behavior Boolean true true false false false false true
format Specifies the format of the time shown in the input field. This is either a format string (e.g. "HH:mm") or a pattern ("F"). Appearance String F true false false true false true
permissionOperate restricts operability to users, which have given roles Accessibility RoleCollection no defaultValue
defined
false false false false false true
permissionView restricts visibility to users, which have given roles Accessibility RoleCollection no defaultValue
defined
false false false false false true
pickerPosition Determines the position of the DateTimePicker relative to the opener. Appearance brease.enum.Position right false false false false false true
style reference to a style for this widget type Appearance StyleReference default true false false false false true
submitOnChange Determines if changes, triggered by user input, should be sent immediately to the server. Behavior Boolean true false false false false false true
tabIndex sets if a widget should have autofocus enabled (0), the order of the focus (>0), or if autofocus should be disabled (-1) Behavior Integer 0 false false false false false true
tooltip reference to a tooltip for a widget Appearance String false false false true false true
value Set Date and Time via DATE_AND_TIME Data DateTime 1970-01-01T00:00:00.000Z true false false false true true
visible change visibility Behavior Boolean true true false false false false true
maxHeight maximum outer height of widget Size 0 false false false true true
minHeight minimum outer height of widget Size 0 false false false true true
maxWidth maximum outer width of widget Size 0 false false false true true
minWidth minimum outer width of widget Size 0 false false false true true
zIndex The zIndex property specifies the z-order of a widget and its childs.
When widgets overlap, z-order determines which one covers the other. A widget with a larger zIndex generally covers a widget with a lower one.
The zIndex must be unique within a content.
UInteger no defaultValue
defined
false false true true true
left absolute position measured from left boundary of parent container Integer no defaultValue
defined
false false false true true
top absolute position measured from top boundary of parent container Integer no defaultValue
defined
false false false true true
height outer height of widget AutoSize 30 false false false true true
width outer width of widget AutoSize 250 false false false true true

Styleable Properties

name type description defaultValue
borderWidth PixelValCollection

Sets the width of the border. For further information, please check its type

2px 6px 2px 2px
activeBorderWidth PixelValCollection

Sets the width of the border while widget is operated. For further information, please see its type

2px 6px 2px 2px
disabledBorderWidth PixelValCollection

Sets the border width of the widget when disbaled. For further information, please see its type

2px 6px 2px 2px
cornerRadius PixelValCollection

Sets the radius of the widget rounded corners. For further information, please check its type

0px
backColor Color

Sets the background color

#FFFFFF
disabledBackColor Color

Sets the background color of the widget when disabled

#F1F1F1
backGroundGradient Gradient

Background as a gradient

disabledBackGroundGradient Gradient

Background as a gradient

borderColor ColorCollection

Sets the border color

#555555
disabledBorderColor ColorCollection

Sets the border color of the widget when disabled. For further information, please see its type

#C8C8C8
activeBorderColor ColorCollection

Sets the border color when the widget is active

#FF8800
activeBackColor Color

back color when widget is active

#F1F1F1
activeTextColor Color

Sets the color of the text when the widget is active

#000000
borderStyle BorderStyle

Style of the Border of the widget

solid
textColor Color

Sets the color of the text

#000000
disabledTextColor Color

Sets the color of the displayed text when the widget is disabled

#C8C8C8
textAlign brease.enum.TextAlign

Alignment of the text

right
opacity Opacity

Opacity of the widget

1
fontName FontName

Fontname of the text

Arial
fontSize PixelVal

Fontsize of the text

16px
rotation Rotation

Rotation of widget.

0deg
bold Boolean

If true font style is bold

true
italic Boolean

If true font style is italic

false
padding Padding

Padding of the Widget

0 15px 0 15px
margin Margin

Margin of the Widget

0px
shadow Shadow

Shadow of the Widget

none

Events

name description arguments
Click Fired when element is clicked on.
  • origin: String

    id of widget that triggered this event

  • horizontalPos: String

    horizontal position of click in pixel i.e '10px'

  • verticalPos: String

    vertical position of click in pixel i.e '10px'

DisabledClick Fired when disabled element is clicked on.
  • origin: String

    id of widget that triggered this event

  • hasPermission: Boolean

    defines if the state is caused due to missing roles of the current user

  • horizontalPos: String

    horizontal position of click in pixel i.e '10px'

  • verticalPos: String

    vertical position of click in pixel i.e '10px'

EnableChanged Fired when operability of the widget changes.
  • value: Boolean

    operability

FocusIn Fired when the widgets gets focus
FocusOut Fired when the widgets lost focus
OnDragEnd Fired when element has OnDragEnd.
  • contentId: String

    content id of the widget where the drag operation has ended

  • widgetId: String

    id of the widget where the drag operation has ended

OnDragEnter Fired when element has onDragEnter.
  • contentId: String

    content id of the widget that has been entering the droppable widget

  • widgetId: String

    id of the widget that has been entering the droppable widget

OnDragLeave Fired when element has OnDragLeave.
  • contentId: String

    content id of the widget that has been leaving the droppable widget

  • widgetId: String

    id of the widget that has been leaving the droppable widget

OnDragStart Fired when element has OnDragStart.
  • contentId: String

    content id of the widget where the drag operation has been started

  • widgetId: String

    id of the widget where the drag operation has been started

OnDrop Fired when element has OnDrop.
  • contentId: String

    content id of the widget that has been dropped on the droppable widget

  • widgetId: String

    id of the widget that has been dropped on the droppable widget

ValueChanged Fired when the value changes.
  • value: DateTime

VisibleChanged Fired when the visibility of the widget changes.
  • value: Boolean

    visibility

Actions

name description arguments result
Focus Sets focus on the widget element, if it can be focused and keyboardOperation=true
GetValue Get the value of input field as date and time
SetEnable Sets the state of property «enable»
  • value: Boolean

SetStyle
  • value: StyleReference

SetValue Set the value of input field as a date time string
  • value: DateTime

SetVisible Sets the state of property «visible»
  • value: Boolean

ShowTooltip